﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ResultsManagementSystem
{
    public class StudentSubject
    {
        private int id;
        private int studentId;
        private int subjectId;

        public StudentSubject() { }

        public StudentSubject(int studentId, int subjectId) 
        {
            this.studentId = studentId;
            this.subjectId = subjectId;
        }

        public StudentSubject(int id, int studentId, int subjectId)
        {
            this.id = id;
            this.studentId = studentId;
            this.subjectId = subjectId;
        }

        public void setId(int id)
        {
            this.id = id;
        }

        public int getId()
        {
            return this.id;
        }

        public void setStudentId(int studentId)
        {
            this.studentId = studentId;
        }

        public int getStudentId()
        {
            return this.studentId;
        }

        public void setSubjectId(int subjectId)
        {
            this.subjectId = subjectId;
        }

        public int getSubjectId()
        {
            return this.subjectId;
        }
    }
}
